package demo4;

public class KeyBoard implements USB{
    @Override
    public void openDevice() {
        System.out.println("打开键盘服务");
    }

    @Override
    public void closeDevice() {
        System.out.println("关闭键盘服务");
    }
    public void input() {
        System.out.println("键盘输入文字！");
    }
}
